package memberrewards.dtos;

public class AccountDetailDTO {

	private String pan;
	private String tier;
	private String pointBalance;
	private TierConfigDTO tierConfig;
	
	public AccountDetailDTO(){
		super();
	}

	public void setPan(String pan) {
		this.pan = pan;
	}

	public String getPan() {
		return pan;
	}

	public String getTier() {
		return tier;
	}

	public void setTier(String tier) {
		this.tier = tier;
	}

	public String getPointBalance() {
		return pointBalance;
	}

	public void setPointBalance(String pointBalance) {
		this.pointBalance = pointBalance;
	}

	public TierConfigDTO getTierConfig() {
		return tierConfig;
	}

	public void setTierConfig(TierConfigDTO tierConfig) {
		this.tierConfig = tierConfig;
	}
	public String toString(){
		StringBuilder sb= new StringBuilder();
		sb.append("[Pan :'"+getPan()+"'")
		  .append(",Tier :'"+getTier()+"'")
		  .append(",PointBalance :'"+getPointBalance()+"'")
		  .append(",TierConfigDTO :'"+(getTierConfig()!=null?getTierConfig().toString():"")+"']");
		return sb.toString();
	}

}
